<?php

require_once( '../system/mdao/Class_D_DNPW_AREA.php' );
$dao = new Class_D_DNPW_AREA;
$dao-> setTableNameWeek($_GET['w']);
$dao->notdo_debug();
$shops = $_GET['s'];
$data = $dao->getMaps ($_GET['so'], $_GET['pa']);
//["map_no"]
$shops = substr($shops, 1);
//修正しないと
$shoparr = explode( "," , $shops);
$strret = "";

foreach ( $shoparr as $k => $v) {
	if ( !empty($data[$v]) ) {
		$strret = $strret  . $v . ",".$data[$v]['map_no']. ",".$data[$v]['mark']. "*";
	}
}
echo $strret;

?>